package com.zelix;

import java.util.HashSet;
import java.util.Vector;

class ym
    implements an
{

    private final vm a;
    private sy b;
    private HashSet c;
    private static String z[];

    ym(vm vm1)
    {
        a = vm1;
        b = new sy(5, 97, 7);
        c = new HashSet(13);
    }

    public void a(int i, int j, int k)
    {
        b.b(vm.a.a(i), vm.a.a(j), vm.a.a(k));
    }

    public HashSet a()
    {
        return c;
    }

    public an a(vm vm1)
    {
        return vm1.l();
    }

    public boolean b(int i, int j, int k)
    {
        boolean flag = b.a(vm.a.a(i), vm.a.a(j), vm.a.a(k));
        return flag;
    }

    public boolean a(zm zm1, int i, bn bn1)
    {
        boolean flag;
        int j;
        int k;
        boolean flag1;
        flag1 = wn.C;
        kd kd1 = (kd)vm.a(a).get(i);
        if(kd1.f() != 182)
            return false;
        zd zd1 = (zd)kd1;
        ss ss1 = (ss)zd1.p();
        sn sn1 = vm.b(a)[i];
        if(!ss1.b().equals(z[6]) || !ss1.s().equals(z[4]))
            return false;
        flag = false;
        j = bn1.m();
        k = i;
        if(!flag1) goto _L2; else goto _L1
_L1:
        ss ss2;
        String s;
        String s1;
        if(k <= j)
            break MISSING_BLOCK_LABEL_526;
        k--;
        kd kd2 = (kd)vm.a(a).get(k);
        if(kd2.f() != 183)
            break MISSING_BLOCK_LABEL_518;
        zd zd2 = (zd)kd2;
        ss2 = (ss)zd2.p();
        s = ss2.b();
        s1 = ss2.n();
        int l;
        zm zm2;
        if(!s1.equals(z[1]) || !zm1.h.a(s, z[5]) && !zm1.h.a(s, z[7]))
            break MISSING_BLOCK_LABEL_503;
        Vector vector = ss2.t();
        if(vector.size() != 1)
            continue; /* Loop/switch isn't completed */
        String s2 = (String)vector.get(0);
        if(s2.length() > 2)
            s2 = s2.substring(1, s2.length() - 1);
        if(s2.equals(z[5]) || s2.equals(z[7]) && !flag1)
            continue; /* Loop/switch isn't completed */
        if(!s2.equals(z[3]) || !s.equals(z[2]) && !s.equals(z[0]))
            break MISSING_BLOCK_LABEL_495;
        sn sn2 = vm.b(a)[k];
        l = sn2.c().length + 1;
        zm2 = new zm(a, zm1, 1, 0, true);
        zm2.a(c);
        if(k <= j) goto _L4; else goto _L3
_L3:
        a.a(zm2, bn1, k, l);
        if(!flag1) goto _L5; else goto _L4
_L4:
        Vector vector1;
        int i1;
        vector1 = bn1.g();
        for(i1 = 0;i1<vector1.size();i1++){
        bn bn2 = (bn)vector1.get(i1);
        a.a(zm2, bn2, bn2.d() + 1, l);
        }
_L5:
        flag = true;
        if(!flag1)
            continue; /* Loop/switch isn't completed */
        flag = true;
        if(!flag1)
            continue; /* Loop/switch isn't completed */
        flag = true;
        continue; /* Loop/switch isn't completed */
        JVM INSTR pop ;
        flag = true;
        if(!flag1)
            continue; /* Loop/switch isn't completed */
        flag = true;
        if(!flag1)
            continue; /* Loop/switch isn't completed */
        flag = true;
_L2:
        if(!flag) goto _L1; else goto _L8
_L8:
        return true;
        return false;
        return false;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x68;
                    break;
                case 1:
                    key = 102;
                    break;
                case 2:
                    key = 75;
                    break;
                case 3:
                    key = 7;
                    break;
                default:
                    key = 29;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static
    {
        String as[];
        as = new String[8];
        as[0] = "\002\007=f2\001\tdAt\004\003\031b|\f\0039";
        as[1] = "T\017%niV";
        as[2] = "\002\007=f2\001\tdAt\004\003\002im\035\022\030so\r\007&";
        as[3] = "\002\007=f2\004\007%`2;\0229ns\017";
        as[4] = "\004\t*c5$\f*q|G\017$(T\006\026>sN\034\024.fpSO\035";
        as[5] = "\002\007=f2\001\tdNs\030\023?Ti\032\003*j";
        as[6] = "\002\007=f2\035\022\"k28\024$wx\032\022\"bn";
        as[7] = "\002\007=f2\001\tdUx\t\002.u";
        for(int i = 0; i<as.length; i++){
            z(as[i].toCharArray());
        }
        z = as;
    }
}
